home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
u_man
/
cat1
/
imged.z
/
imged
Wrap
Text File
|
1998-10-20
|
5KB
|
133 lines
IIIIMMMMGGGGEEEEDDDD((((1111GGGG)))) IIIIMMMMGGGGEEEEDDDD((((1111GGGG))))
NNNNAAAAMMMMEEEE
imged - small image editor
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
iiiimmmmggggeeeedddd _i_m_g_f_i_l_e [ _x_s_i_z_e _y_s_i_z_e [ ----rrrrggggbbbb ]]
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
_i_m_g_e_d is a pixel-based editor for making changes to image files stored in
the SGI imglib format. Images may be stored in colormap, RGB, or
greyscale format.
_i_m_g_e_d may also be used to create a new colormap or RGB image by
specifying an X and Y size on the command line. If the ----rrrrggggbbbb flag is
given, the new image is created as RGB, otherwise it is created as a
colormap image. New images are initialized with a solid grey background.
The _i_m_g_e_d window contains a scaled representation of the image being
edited. The scale of the image can be changed by resizing the window. The
pixels in the image will appear as squares, optionally separated by black
lines. The title of the _i_m_g_e_d window indicates the type of image that is
being edited.
The three mouse buttons all have a function within _i_m_g_e_d . The left and
middle buttons both act as brushes. Each brush remembers a "current
color". While the brush buttons are pressed, drawing will take place in
the color of that brush. If the Shift key is held down, pushing a brush
button causes the brush to change color to the color of the pixel
directly under the cursor. The Alt key also modifies the operation of the
brush buttons for RGB images. While the Alt key is held down, drawing
will be performed in "blending mode". The pixels being drawn on will be
blended with the color of the brush.
Pushing the right button causes a popup menu to appear, which can be used
to change the mode of imged. Several options are available. The "no
grid" option turns off the grid of black lines separating the pixels.
Similarly, the "grid" option turns the grid on.
DDDDRRRRAAAAWWWWIIIINNNNGGGG MMMMOOOODDDDEEEESSSS
_i_m_g_e_d has four different drawing modes: _s_k_e_t_c_h, _r_e_c_t, _l_i_n_e, and _s_m_e_a_r.
To change the drawing mode, select the appropriate entry from the popup
menu with the right mouse button.
_s_k_e_t_c_h _m_o_d_e lets you change pixels directly under the cursor to the
brush color when a brush button is depressed. Holding a
brush button down while moving the mouse results in a
sketch-like drawing.
_r_e_c_t _m_o_d_e lets you create rectangles by pressing a brush button at
one corner of the desired rectangle and holding the button
while moving the cursor. When you release the button, the
rectangle is drawn.
PPPPaaaaggggeeee 1111
IIIIMMMMGGGGEEEEDDDD((((1111GGGG)))) IIIIMMMMGGGGEEEEDDDD((((1111GGGG))))
_l_i_n_e _m_o_d_e lets you draw straight lines by pressing a brush button at
one end of the desired line segment and holding the button
while moving the cursor. When you release the button, the
line segment connecting the two points is drawn.
_s_m_e_a_r _m_o_d_e is only available for use with RGB pictures. It lets you
smear an area with the brush. The pixels surrounding the
pixel the brush is on are used to determine the color used
for that pixel.
HHHHAAAALLLLFFFFTTTTOOOONNNNEEEE
Often when editing small images, you need the ability to draw
checkerboard patterns of pixels. This can be done easily by selecting the
"halftone" option from the popup menu. The right and middle mouse buttons
will draw on pixels of opposite parity. To turn off the halftone mode,
select the "solid" option from the menu.
WWWWRRRRIIIITTTTIIIINNNNGGGG CCCCHHHHAAAANNNNGGGGEEEESSSS
To write out changes to an image, select the "write" option from the
popup menu. The current state of the image will be written to the file be
edited. Changes must be written to a file to be saved.
DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
Exit status is 1 if an error is encountered.
SSSSEEEEEEEE AAAALLLLSSSSOOOO
ipaste(1G)
_G_r_a_p_h_i_c_s _L_i_b_r_a_r_y _P_r_o_g_r_a_m_m_i_n_g _G_u_i_d_e
PPPPaaaaggggeeee 2222